package com.yudean.erp.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 沈泽群
 * @since 2021-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("IDS_PM_PRO_TECH")
@ApiModel(value="IdsPmProTech对象", description="")
public class IdsPmProTech implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "项目ID主键")
    @TableField("TECHID")
    private String techid;

    @ApiModelProperty(value = "项目年度")
    @TableField("TECHYEAH")
    private Integer techyeah;

    @ApiModelProperty(value = "项目名称")
    @TableField("TECHNAME")
    private String techname;

    @ApiModelProperty(value = "项目内容")
    @TableField("TECHCONTENT")
    private String techcontent;

    @ApiModelProperty(value = "申请金额")
    @TableField("TECHBUDGET")
    private BigDecimal techbudget;

    @ApiModelProperty(value = "项目分类父ID")
    @TableField("TECHLUCODE")
    private String techlucode;

    @ApiModelProperty(value = "项目分类父ID名称")
    @TableField("TECHLUCODENAME")
    private String techlucodename;

    @ApiModelProperty(value = "项目分类子ID")
    @TableField("TECHLUCODECHILD")
    private String techlucodechild;

    @ApiModelProperty(value = "项目分类子ID名称")
    @TableField("TECHLUCODECHILDNAME")
    private String techlucodechildname;

    @ApiModelProperty(value = "项目编号")
    @TableField("TECHPROJECTCODE")
    private String techprojectcode;

    @ApiModelProperty(value = "所属电厂（电厂三字码）")
    @TableField("TECHCOMPANYID")
    private String techcompanyid;

    @ApiModelProperty(value = "集团审批状态：已批复30")
    @TableField("REPORTSTATUS")
    private String reportstatus;

    @ApiModelProperty(value = "厂内审批状态已申报30，已批复")
    @TableField("TECHSTATE")
    private String techstate;

    @ApiModelProperty(value = "批复总额，50万以下技改、特修以此金额为准")
    @TableField("TECHBUDGETCOMPANYAPPROVAL")
    private BigDecimal techbudgetcompanyapproval;

    @ApiModelProperty(value = "批复技术性金额")
    @TableField("TECHDEVELOPAPPROVAL")
    private BigDecimal techdevelopapproval;

    @ApiModelProperty(value = "批复资本性金额")
    @TableField("TECHCAPITALAPPROVAL")
    private BigDecimal techcapitalapproval;

    @ApiModelProperty(value = "上报编号")
    @TableField("TECHREPORTCODE")
    private String techreportcode;

    @ApiModelProperty(value = "系统集团批复编号")
    @TableField("TECHREPORTPFNO")
    private String techreportpfno;

    @ApiModelProperty(value = "历史批复金额，用于结转")
    @TableField("TECHAPPROVALOLD")
    private BigDecimal techapprovalold;

    @ApiModelProperty(value = "当年可用费用")
    @TableField("TECHBUDGETAPPROVAL_CARRY")
    private BigDecimal techbudgetapprovalCarry;

    @ApiModelProperty(value = "申请当年费用")
    @TableField("THIS_YEAR")
    private BigDecimal thisYear;

    @ApiModelProperty(value = "申请下一年费用")
    @TableField("FIRST_YEAR")
    private BigDecimal firstYear;

    @ApiModelProperty(value = "申请下二年费用")
    @TableField("SECOND_YEAR")
    private BigDecimal secondYear;

    @ApiModelProperty(value = "批复当年费用")
    @TableField("APPROVE_THIS_YEAR")
    private BigDecimal approveThisYear;

    @ApiModelProperty(value = "批复下一年费用")
    @TableField("APPROVE_FIRST_YEAR")
    private BigDecimal approveFirstYear;

    @ApiModelProperty(value = "批复下二年费用")
    @TableField("APPROVE_SECOND_YEAR")
    private BigDecimal approveSecondYear;

    @ApiModelProperty(value = "PM系统同步状态(1-修改 2-新增3-删除)")
    @TableField("SYNPM_STATUS")
    private String synpmStatus;

    @ApiModelProperty(value = "PM系统同步时间")
    @TableField("SYNPM_DATE")
    private LocalDateTime synpmDate;

    @ApiModelProperty(value = "集团财务预算报表系统系统同步状态(0:已同步,1:同步失败,2:未同步)")
    @TableField("SYNLNP_STATUS")
    private String synlnpStatus;

    @ApiModelProperty(value = "集团财务预算报表系统系统同步时间")
    @TableField("SYNLNP_DATE")
    private LocalDateTime synlnpDate;


}
